
import { Button } from 'antd';
import { Link } from 'react-router-dom';
import aisle from 'aisle';

export default function App() {
    return (
        <>
            <p>demo1</p>
            <Button onClick={async () => { console.log(await aisle.call('default.local', 'demo1', 'ok')) }} >发消息</Button>
            <Link to="/demo2" >去demo2</Link>
        </>
    );
}